package Entity;

import javax.json.bind.annotation.JsonbProperty;

@SuppressWarnings("unused")
public class userinformation {
    public userinformation() {

    }

    public userinformation(String username, String password, String stu_number,String phonenumber,String email) {
        this.username =username ;
        this.password = password;
        this.stu_number=stu_number;
        this.phonenumber = phonenumber;
        this.email=email;
    }
    @JsonbProperty("username")
    private String username;

    @JsonbProperty("email")
    private String email;

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email=email;
    }

    @JsonbProperty("password")
    private String password;

    // 姓名
    @JsonbProperty("phonenumber")
    private String phonenumber;

    @JsonbProperty("stu_number")
    private String stu_number;


    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getPhonenumber() {
        return phonenumber;
    }

    public void setPhonenumber(String phonenumber) {
        this.phonenumber = phonenumber;
    }

    public String getStu_number() {
        return stu_number;
    }

    public void setStu_number(String stu_number) {
        this.stu_number = stu_number;
    }
}